package com.ss.android.article.base.feature.update.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.bytedance.frameworks.b.a.ComponentsManifest;
import com.ss.android.account.Spipe;
import com.ss.android.account.v2.bb;

final class d implements View.OnClickListener {
    private final a a;

    d(a arg1) {
        this.a = arg1;

    }

    public final void onClick(View arg4) {
        a v1 = this.a;
        if (v1.a.isLogin) {
            v1.d();
        } else if ((v1.b instanceof Activity)) {
            Bundle v2 = android.support.design.a.createJumpData("title_post", "post_comment");
            Spipe.inst();
            Spipe.a((Activity) v1.b, v2);
        } else {
            ComponentsManifest.findComponent(bb.class).a(v1.b);
        }
    }
}

